package com.bdqn.service;

import com.bdqn.bean.user.User;

/**
 * @author 忍
 * @title: UserService
 * @projectName Teaching
 * @description: TODO
 * @date 2019/4/2623:52
 */
public interface IUserService {
    /**
     * @description: 根据手机号获取用户
     * @param phone
     * @return com.bdqn.bean.user.User
     * @throws
     * @author Mr.Zhou
     * @date 2019/4/27 0:25
     */
    User selectUserByPhone(String phone);
    /**
     * @description:添加用户
     * @param user
     * @return void
     * @throws
     * @author Mr.Zhou
     * @date 2019/5/10 14:09
     */
    void addUser(User user);
    /**
     * @description: 根据手机号,密码获取用户
     * @param phone,pwd
     * @return com.bdqn.bean.user.User
     * @throws
     * @author Mr.Zhou
     * @date 2019/4/27 0:25
     */
    User selectUserByPwd(String phone,String pwd);
}